package com.self.finance.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.self.finance.model.CashRecharge;
import com.baomidou.mybatisplus.extension.service.IService;
import com.self.finance.model.CashRechargeAuditRecord;
import com.self.finance.param.CashParam;
import com.self.finance.vo.CashTradeVo;

public interface CashRechargeService extends IService<CashRecharge>{


    Page<CashRecharge> findByPage(Page<CashRecharge> page, Long coinId, Long userId,
                                  String userName, String mobile, Byte status, String numMin,
                                  String numMax, String startTime, String endTime);

    Page<CashRecharge> findUserCashRecharge(Page<CashRecharge> page, Byte status);

    CashTradeVo buy(CashParam cashParam);

    boolean cashRechargeAudit(CashRechargeAuditRecord cashRechargeAuditRecord);
}
